package com.ad2campaign.engine.core;

import com.ad2campaign.engine.rest.Action;

/*
 * This is enum. In future it is replaced by new Action class
 * 
 * */
 public enum EngineActions 
{
	START("{jobName}/start/"),STOP("{jobName}/stop/{executionId}/"),STOPALL("{jobName}/stop/"),RESTARTALL("{jobName}/restart/"),RESTART("{jobName}/restart/{executionId}/");
	
	private Action action;
	private EngineActions(String action)
	{
		this.action=new Action(action);
	}
	
	public Action getAction()
	{
		return action;
	}
}
